const getters = {
  token: state => state.user.token,
  refreshToken: state => state.user.refreshToken,
  accessTokenExpireDate: state => state.user.accessTokenExpireDate,
  name: state => state.user.username,
  roles: state => state.user.roles,
  permissions: state => state.user.permissions,
  permission_routes: state => state.permission.routes,
  currentProject: state => state.current.currentProject,
  currentTodo: state => state.current.currentTodo,
  currentMenu: state => state.current.currentMenu,
  currentUserId: state => state.user.userId,
  currentProjectCreator: state => state.current.currentProjectCreator,
  currentProjectData: state => state.current.currentProjectData,
  currentUserData: state => state.current.currentUserData,
  currentProjectTodos: state => state.current.currentProjectTodos,
  logged: state => state.current.isTokenUnExpire,
  projects: state => state.current.projects,
  documents: state => state.current.documents,
  documentLogs: state => state.current.documentLogs,
  currentDocId: state => state.current.currentDoc,
  currentDocInfo: state => state.current.currentDocInfo
}
export default getters
